//
//  ICLCBKeyboard.h
//  ICome
//
//  Created by Administrator on 2016/11/25.
//  Copyright © 2016年 iCom. All rights reserved.
//

#import <UIKit/UIKit.h>

#import "UITextInputExtendRange.h"


typedef NS_ENUM(NSInteger,LCBKeyboardKeyboardType){
    LCBKeyboardboardTypeNumber = 100,
    LCBKeyboardboardTypeCharacter
};

@protocol ICLCBKeyboardDelegate <NSObject>

@required

- (void)keyboardWillResignFirstResponse:(UIView *)keyboard;

@optional

- (void)keyboard:(UIView *)keyboard changeType:(LCBKeyboardKeyboardType)type;

- (void)keyboardBackspace:(UIView *)keyboard;

- (void)keyboard:(UIView *)keyboard input:(NSString *)character;

@end

@interface ICLCBKeyboard : UIView




@property (nonatomic,weak) id<ICLCBKeyboardDelegate> delegate;

@property (nonatomic,weak) id<UITextInputExtendRange> inputView;

- (instancetype)initWithInputView:(id<UITextInputExtendRange>)view;

@end
